package com.financing.platform.service;

import java.sql.SQLException;
import java.util.List;

import com.financing.platform.dto.ProjectCompanyDTO;

public interface IProjectCompanyService extends IBaseService {
	

	/**
	 * 获取产品公司列表
	 * @param queryVo
	 * @return
	 */
	public List<ProjectCompanyDTO> getProjectCompanyList(ProjectCompanyDTO projectCompanyDTO) throws SQLException;

	/**
	 * 根据ID获取产品公司详情
	 * @param id
	 * @return
	 */
	public ProjectCompanyDTO getProjectCompanyById(int productCompanyId) throws SQLException;
	
	/**
	 * 更新产品公司
	 * @param dto
	 * @return id
	 * @throws SQLException 
	 */
	public int updateProjectCompany(ProjectCompanyDTO projectCompanyDTO) throws SQLException;
	
	/**
	 * @throws SQLException 
	 * 
	* @Title: addProjectCompany 
	* @Description: 添加产品公司
	* @param   ProjectCompanyDTO
	* @return int   
	* @throws
	 */
	public int addProjectCompany(ProjectCompanyDTO projectCompanyDTO) throws SQLException;
	
	
	/**
	 * 查询列表总数
	 * @param projectCompanyDTO
	 * @return int
	 * @throws SQLException
	 */
	public int getProjectCompanyListCount(ProjectCompanyDTO projectCompanyDTO) throws SQLException;
	
	/**
	 * 查询列表总数
	 * @param projectCompanyDTO
	 * @return int
	 * @throws SQLException
	 */
	public int delProjectCompany(int productCompanyId) throws SQLException;
}
